package com.zhongxi.guoyuan.entity.rewardcoin;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/3/30.
 */

public class Complaints{

    private String orderid;
    private String userid;
    private String content;
    private String ctime;

    public static Complaints parseMatch(JSONObject jsonObject){
        Complaints complaints = new Complaints();
        try {
            complaints.setUserid(jsonObject.getString("userid"));
            complaints.setContent(jsonObject.getString("content"));
            complaints.setCtime(jsonObject.getString("ctime"));
        }catch (Exception e){
            e.printStackTrace();
        }
        return complaints;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }
}